package com.bwie.controller;

import com.bwie.service.TbBrandService;
import com.bwie.utils.Result;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * description:
 *
 * @Author zhaohaoyang
 * @Create 2025/5/27 11:03
 * @Version 1.0
 */
@RestController
@RequestMapping("/shop/brand")
public class TbBrandController {
    @Autowired
    TbBrandService tbBrandService;

    /**
     * 获取所有品牌列表
     * @return
     */
    @PostMapping("/getBrandAll")
    public Result getBrandAll(){
        return tbBrandService.getBrandAll();
    }
}
